package github.fafaovo.common.Itemgroup;

import github.fafaovo.core.init.ItemInit;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;

public class ExampleGroup extends ItemGroup {

    public static final ExampleGroup exampleGroup = new ExampleGroup("example_group");

    public ExampleGroup(String label) {//鼠标悬浮 分类栏
        super(label);
    }

    @Override //创建标签栏图标 返回一个物品
    public ItemStack createIcon() {
        return new ItemStack(ItemInit.ENERGY_METER.get());
    }
}
